﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace SYHParamters
{
    public class Config
    {
        /// <summary>
        /// 项目编号
        /// </summary>
        public static string ProjectNumber
        {
            get
            {
                return ConfigurationManager.AppSettings["ProjectNumber"];
            }
        }

        /// <summary>
        /// 项目值
        /// </summary>
        public static string ProjectKey
        {
            get
            {
                return ConfigurationManager.AppSettings["ProjectKey"];
            }
        }


        /// <summary>
        /// 每页条数
        /// </summary>
        public static string PageSize
        {
            get
            {
                return ConfigurationManager.AppSettings["pageSize"];
            }
        }

        /// <summary>
        /// 公司URL(普通会员)
        /// </summary>
        public static string ShopDomainURL
        {
            get
            {
                return ConfigurationManager.AppSettings["companyDomain"];
            }
        }

       
        /// <summary>
        /// 错误处理页面
        /// </summary>
        public static string ErrorPageUrl
        {
            get
            {
                return ConfigurationManager.AppSettings["ErrorPageUrl"];
            }
        }

        /// <summary>
        /// data数据库
        /// </summary>
        public static string ConfigStr
        {
            get
            {
                return ConfigurationManager.AppSettings["CnStringData"];
            }
        }

        public static string AreaFlag
        {
            get
            {
                return ConfigurationManager.AppSettings["AreaFlag"];
            }
        }

        public static string AreaName
        {
            get
            {
                return ConfigurationManager.AppSettings["AreaName"];
            }
        }
    }
}
